package com.ycc.biz.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 已登录用户视图（脱敏）
 *
 **/
@Data
public class LoginUserVO implements Serializable {

    @ApiModelProperty("用户 id")
    private String id;

    @ApiModelProperty("用户昵称")
    private String username;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("用户账号")
    private String userAccount;

    private static final long serialVersionUID = 1L;
}